[BindProperty]public int SelectedTag { get; set; };public SelectList TagOptions { get; set; }public void OnGet(){ TagOptions = new SelectList(_tagService.GetTags(), nameof(Tag.TagId), nameof(Tag.TagName)); SelectedTag = 5;}